package com.fleamarket.model;

/**
 * AbstractUser entity provides the base persistence definition of the User
 * entity. @author MyEclipse Persistence Tools
 */

public abstract class AbstractUser implements java.io.Serializable {

	// Fields

	private Integer userId;
	private Integer roleId;
	private String userAccount;
	private String userName;
	private String password;
	private String sex;
	private String tel;
	private String email;
	private Integer state;
	private Integer confirmType;
	private String photo;
	private String confirmNo;

	// Constructors

	/** default constructor */
	public AbstractUser() {
	}

	/** minimal constructor */
	public AbstractUser(Integer roleId, String userAccount, String userName,
			String password, Integer state) {
		this.roleId = roleId;
		this.userAccount = userAccount;
		this.userName = userName;
		this.password = password;
		this.state = state;
	}

	/** full constructor */
	public AbstractUser(Integer roleId, String userAccount, String userName,
			String password, String sex, String tel, String email,
			Integer state, Integer confirmType, String photo, String confirmNo) {
		this.roleId = roleId;
		this.userAccount = userAccount;
		this.userName = userName;
		this.password = password;
		this.sex = sex;
		this.tel = tel;
		this.email = email;
		this.state = state;
		this.confirmType = confirmType;
		this.photo = photo;
		this.confirmNo = confirmNo;
	}

	// Property accessors

	public Integer getUserId() {
		return this.userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public Integer getRoleId() {
		return this.roleId;
	}

	public void setRoleId(Integer roleId) {
		this.roleId = roleId;
	}

	public String getUserAccount() {
		return this.userAccount;
	}

	public void setUserAccount(String userAccount) {
		this.userAccount = userAccount;
	}

	public String getUserName() {
		return this.userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getSex() {
		return this.sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getTel() {
		return this.tel;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}

	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public Integer getState() {
		return this.state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public Integer getConfirmType() {
		return this.confirmType;
	}

	public void setConfirmType(Integer confirmType) {
		this.confirmType = confirmType;
	}

	public String getPhoto() {
		return this.photo;
	}

	public void setPhoto(String photo) {
		this.photo = photo;
	}

	public String getConfirmNo() {
		return this.confirmNo;
	}

	public void setConfirmNo(String confirmNo) {
		this.confirmNo = confirmNo;
	}

}